package com.jwsoft.manager.common.vo.address;

import com.bifang.assistant.common.vo.BasePageVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author zhiyuan
 * @Date 2023/4/6 14:42
 */
@Data
@Schema(name = "AddressTreeSchoolVO", title = "分页获取学校账号的树节点信息", description = "分页获取学校账号的树节点信息")
public class AddressTreeSchoolVO extends BasePageVO {

    @NotNull(message = "父级节点id不能为空")
    @Schema(name = "parentId", description = "父级节点id")
    private Long parentId;

    @NotNull(message = "区域类型不能为空")
    @Schema(name = "parentAreaType", description = "区域类型")
    private String parentAreaType;
}
